<!DOCTYPE HTML>

<html lang="en">
<head>

<title>JoseHeaderNames (spring-security-docs 5.6.3 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
    try {
        if (location.href.indexOf('is-external=true') == -1) {
            parent.document.title="JoseHeaderNames (spring-security-docs 5.6.3 API)";
        }
    }
    catch(err) {
    }
//-->
var pathtoroot = "../../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">

<div class="topNav"><a id="navbar.top">

</a>
<div class="skipNav"><a href="JoseHeaderNames.html#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">

</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="JoseHeaderNames.html#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="JoseHeaderNames.html#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="JoseHeaderNames.html#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li>Method</li>
</ul>
</div>
<a id="skip.navbar.top">

</a></div>

</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>

<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.springframework.security.oauth2.jwt</a></div>
<h2 title="Class JoseHeaderNames" class="title">Class JoseHeaderNames</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.springframework.security.oauth2.jwt.JoseHeaderNames</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<pre>public final class <span class="typeNameLabel">JoseHeaderNames</span>
extends java.lang.Object</pre>
<div class="block">The Registered Header Parameter Names defined by the JSON Web Token (JWT), JSON Web
Signature (JWS) and JSON Web Encryption (JWE) specifications that may be contained in
the JOSE Header of a JWT.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>5.6</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a target="_blank" href="https://tools.ietf.org/html/rfc7519#section-5">JWT JOSE
Header</a>,
<a target="_blank" href="https://tools.ietf.org/html/rfc7515#section-4">JWS JOSE
Header</a>,
<a target="_blank" href="https://tools.ietf.org/html/rfc7516#section-4">JWE JOSE
Header</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">

<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">

</a>
<h3>Field Summary</h3>
<table class="memberSummary">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="JoseHeaderNames.html#ALG">ALG</a></span></code></th>
<td class="colLast">
<div class="block"><code>alg</code> - the algorithm header identifies the cryptographic algorithm used to
secure a JWS or JWE</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="JoseHeaderNames.html#CRIT">CRIT</a></span></code></th>
<td class="colLast">
<div class="block"><code>crit</code> - the critical header indicates that extensions to the JWS/JWE/JWA
specifications are being used that MUST be understood and processed</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="JoseHeaderNames.html#CTY">CTY</a></span></code></th>
<td class="colLast">
<div class="block"><code>cty</code> - the content type header is used by JWS/JWE applications to declare
the media type of the secured content (the payload)</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="JoseHeaderNames.html#JKU">JKU</a></span></code></th>
<td class="colLast">
<div class="block"><code>jku</code> - the JWK Set URL header is a URI that refers to a resource for a set
of JSON-encoded public keys, one of which corresponds to the key used to digitally
sign a JWS or encrypt a JWE</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="JoseHeaderNames.html#JWK">JWK</a></span></code></th>
<td class="colLast">
<div class="block"><code>jwk</code> - the JSON Web Key header is the public key that corresponds to the key
used to digitally sign a JWS or encrypt a JWE</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="JoseHeaderNames.html#KID">KID</a></span></code></th>
<td class="colLast">
<div class="block"><code>kid</code> - the key ID header is a hint indicating which key was used to secure a
JWS or JWE</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="JoseHeaderNames.html#TYP">TYP</a></span></code></th>
<td class="colLast">
<div class="block"><code>typ</code> - the type header is used by JWS/JWE applications to declare the media
type of a JWS/JWE</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="JoseHeaderNames.html#X5C">X5C</a></span></code></th>
<td class="colLast">
<div class="block"><code>x5c</code> - the X.509 certificate chain header contains the X.509 public key
certificate or certificate chain corresponding to the key used to digitally sign a
JWS or encrypt a JWE</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="JoseHeaderNames.html#X5T">X5T</a></span></code></th>
<td class="colLast">
<div class="block"><code>x5t</code> - the X.509 certificate SHA-1 thumbprint header is a base64url-encoded
SHA-1 thumbprint (a.k.a.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="JoseHeaderNames.html#X5T_S256">X5T_S256</a></span></code></th>
<td class="colLast">
<div class="block"><code>x5t#S256</code> - the X.509 certificate SHA-256 thumbprint header is a
base64url-encoded SHA-256 thumbprint (a.k.a.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="JoseHeaderNames.html#X5U">X5U</a></span></code></th>
<td class="colLast">
<div class="block"><code>x5u</code> - the X.509 URL header is a URI that refers to a resource for the X.509
public key certificate or certificate chain corresponding to the key used to
digitally sign a JWS or encrypt a JWE</div>
</td>
</tr>
</table>
</li>
</ul>
</section>

<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">

</a>
<h3>Method Summary</h3>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">

</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">

<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.detail">

</a>
<h3>Field Detail</h3>
<a id="ALG">

</a>
<ul class="blockList">
<li class="blockList">
<h4>ALG</h4>
<pre>public static final&nbsp;java.lang.String ALG</pre>
<div class="block"><code>alg</code> - the algorithm header identifies the cryptographic algorithm used to
secure a JWS or JWE</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.springframework.security.oauth2.jwt.JoseHeaderNames.ALG">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="JKU">

</a>
<ul class="blockList">
<li class="blockList">
<h4>JKU</h4>
<pre>public static final&nbsp;java.lang.String JKU</pre>
<div class="block"><code>jku</code> - the JWK Set URL header is a URI that refers to a resource for a set
of JSON-encoded public keys, one of which corresponds to the key used to digitally
sign a JWS or encrypt a JWE</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.springframework.security.oauth2.jwt.JoseHeaderNames.JKU">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="JWK">

</a>
<ul class="blockList">
<li class="blockList">
<h4>JWK</h4>
<pre>public static final&nbsp;java.lang.String JWK</pre>
<div class="block"><code>jwk</code> - the JSON Web Key header is the public key that corresponds to the key
used to digitally sign a JWS or encrypt a JWE</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.springframework.security.oauth2.jwt.JoseHeaderNames.JWK">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="KID">

</a>
<ul class="blockList">
<li class="blockList">
<h4>KID</h4>
<pre>public static final&nbsp;java.lang.String KID</pre>
<div class="block"><code>kid</code> - the key ID header is a hint indicating which key was used to secure a
JWS or JWE</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.springframework.security.oauth2.jwt.JoseHeaderNames.KID">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="X5U">

</a>
<ul class="blockList">
<li class="blockList">
<h4>X5U</h4>
<pre>public static final&nbsp;java.lang.String X5U</pre>
<div class="block"><code>x5u</code> - the X.509 URL header is a URI that refers to a resource for the X.509
public key certificate or certificate chain corresponding to the key used to
digitally sign a JWS or encrypt a JWE</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.springframework.security.oauth2.jwt.JoseHeaderNames.X5U">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="X5C">

</a>
<ul class="blockList">
<li class="blockList">
<h4>X5C</h4>
<pre>public static final&nbsp;java.lang.String X5C</pre>
<div class="block"><code>x5c</code> - the X.509 certificate chain header contains the X.509 public key
certificate or certificate chain corresponding to the key used to digitally sign a
JWS or encrypt a JWE</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.springframework.security.oauth2.jwt.JoseHeaderNames.X5C">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="X5T">

</a>
<ul class="blockList">
<li class="blockList">
<h4>X5T</h4>
<pre>public static final&nbsp;java.lang.String X5T</pre>
<div class="block"><code>x5t</code> - the X.509 certificate SHA-1 thumbprint header is a base64url-encoded
SHA-1 thumbprint (a.k.a. digest) of the DER encoding of the X.509 certificate
corresponding to the key used to digitally sign a JWS or encrypt a JWE</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.springframework.security.oauth2.jwt.JoseHeaderNames.X5T">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="X5T_S256">

</a>
<ul class="blockList">
<li class="blockList">
<h4>X5T_S256</h4>
<pre>public static final&nbsp;java.lang.String X5T_S256</pre>
<div class="block"><code>x5t#S256</code> - the X.509 certificate SHA-256 thumbprint header is a
base64url-encoded SHA-256 thumbprint (a.k.a. digest) of the DER encoding of the
X.509 certificate corresponding to the key used to digitally sign a JWS or encrypt
a JWE</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.springframework.security.oauth2.jwt.JoseHeaderNames.X5T_S256">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="TYP">

</a>
<ul class="blockList">
<li class="blockList">
<h4>TYP</h4>
<pre>public static final&nbsp;java.lang.String TYP</pre>
<div class="block"><code>typ</code> - the type header is used by JWS/JWE applications to declare the media
type of a JWS/JWE</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.springframework.security.oauth2.jwt.JoseHeaderNames.TYP">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="CTY">

</a>
<ul class="blockList">
<li class="blockList">
<h4>CTY</h4>
<pre>public static final&nbsp;java.lang.String CTY</pre>
<div class="block"><code>cty</code> - the content type header is used by JWS/JWE applications to declare
the media type of the secured content (the payload)</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.springframework.security.oauth2.jwt.JoseHeaderNames.CTY">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="CRIT">

</a>
<ul class="blockListLast">
<li class="blockList">
<h4>CRIT</h4>
<pre>public static final&nbsp;java.lang.String CRIT</pre>
<div class="block"><code>crit</code> - the critical header indicates that extensions to the JWS/JWE/JWA
specifications are being used that MUST be understood and processed</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.springframework.security.oauth2.jwt.JoseHeaderNames.CRIT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>

<footer role="contentinfo">
<nav role="navigation">

<div class="bottomNav"><a id="navbar.bottom">

</a>
<div class="skipNav"><a href="JoseHeaderNames.html#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">

</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="JoseHeaderNames.html#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="JoseHeaderNames.html#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="JoseHeaderNames.html#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li>Method</li>
</ul>
</div>
<a id="skip.navbar.bottom">

</a></div>

</nav>
</footer>
<script>if (window.parent == window) {(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');ga('create', 'UA-2728886-23', 'auto', {'siteSpeedSampleRate': 100});ga('send', 'pageview');}</script><script defer src="https://static.cloudflareinsights.com/beacon.min.js/v652eace1692a40cfa3763df669d7439c1639079717194" integrity="sha512-Gi7xpJR8tSkrpF7aordPZQlW2DLtzUlZcumS8dMQjwDHEnw9I7ZLyiOj/6tZStRBGtGgN6ceN6cMH8z7etPGlw==" data-cf-beacon='{"rayId":"7040e18b0d9297cf","token":"bffcb8a918ae4755926f76178bfbd26b","version":"2021.12.0","si":100}' crossorigin="anonymous"></script>
</body>
</html>
